package com.skt.common_hr.login
{
	import flash.events.Event;

	public class LoginEvent extends Event
	{
		public static const SUCCEED_LOGIN:String = "succeedLogin";
		public static const FAILED_LOGIN:String  = "failedLogin";
		public static const SUCCEED_CHANGEPASS:String	 = "succeedChangePass";
		public static const FAILED_CHANGEPASS:String	= "failedChangePass";
		
		public static const SUCCEED_CHK:String = "SUCCEED_CHK";
		public static const FAILED_CHK:String = "FAILED_CHK";
		
		
		public var retCode:int;
		public var retText:String;
		
		public function LoginEvent(type:String, code:int, text:String)
		{
			super(type, false, false);
			retCode = code;
			retText = text;
		}
		
		override public function clone():Event
		{
			return new LoginEvent(type, retCode, retText);
		}
		
	}
}